package org.jeecg.modules.job.sub.service;

import org.jeecg.modules.job.sub.entity.SubSelect;
import org.jeecg.modules.job.sub.entity.SubAnswer;
import org.jeecg.modules.job.sub.entity.SubTitle;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 题目信息
 * @Author: jeecg-boot
 * @Date:   2022-10-04
 * @Version: V1.0
 */
public interface ISubTitleService extends IService<SubTitle> {

	/**
	 * 添加一对多
	 *
	 * @param subTitle
	 * @param subSelectList
	 * @param subAnswerList
	 */
	public void saveMain(SubTitle subTitle,List<SubSelect> subSelectList,List<SubAnswer> subAnswerList) ;
	
	/**
	 * 修改一对多
	 *
   * @param subTitle
   * @param subSelectList
   * @param subAnswerList
	 */
	public void updateMain(SubTitle subTitle,List<SubSelect> subSelectList,List<SubAnswer> subAnswerList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
